<?php
/*
 * Created on 23 oct. 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 namespace BP\CompteBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use BP\CompteBundle\Form\OperationForm;
use BP\CompteBundle\Entity\Compte;
use BP\CompteBundle\Entity\Operation;
use BP\UtilisateurBundle\Entity\Utilisateur;
 
class VirementController extends Controller
{
	public function newAction()
	{
		$user = $user = $this->container->get('security.context')->getToken()->getUser();
		if (!is_object($user)) {
            return $this->redirect($this->generateUrl('fos_user_security_login'));
        }
        
        
	}
}
